package com.sia.springcloud.result;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Sirius
 * @Date: 2022/1/12 20:46
 * @Description:
 **/
@Data
public class DataCollection implements Serializable {
    private static final long serialVersionUID = 8656128222714547171L;
    int deviceId;
    String deviceName;
    int pointId;
    String pointName;
    Date date;
    boolean success;
    String type;
    String value;

    @Override
    public String toString() {
        return "DataCollection{" +
                "deviceId=" + deviceId +
                ", pointId=" + pointId +
                ", date=" + date +
                ", success=" + success +
                ", type='" + type + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
